package edu.inf3.j2ee.entities;


/**
 * @author goundy
 *
 */
public class Absense {

	private long id;
	private Student student;
	private Schedule schedule;
	private boolean justified;
	private String comment;
	
	public Absense(){
	}

	public Absense(String comment, Schedule schedule, Student student) {
		super();
		this.comment = comment;
		this.schedule = schedule;
		this.student = student;
	}
	
	
	/**
	 * @return the id
	 */
	public long getId() {
		return id;
	}
	/**
	 * @param id the id to set
	 */
	public void setId(long id) {
		this.id = id;
	}
	/**
	 * @return the student
	 */
	public Student getStudent() {
		return student;
	}
	/**
	 * @param student the student to set
	 */
	public void setStudent(Student student) {
		this.student = student;
	}
	/**
	 * @return the schedule
	 */
	public Schedule getSchedule() {
		return schedule;
	}
	/**
	 * @param schedule the schedule to set
	 */
	public void setSchedule(Schedule schedule) {
		this.schedule = schedule;
	}
	/**
	 * @return the justified
	 */
	public boolean isJustified() {
		return justified;
	}
	/**
	 * @param justified the justified to set
	 */
	public void setJustified(boolean justified) {
		this.justified = justified;
	}
	/**
	 * @return the comment
	 */
	public String getComment() {
		return comment;
	}
	/**
	 * @param comment the comment to set
	 */
	public void setComment(String comment) {
		this.comment = comment;
	}
	
	
	
}
